---
title: DocumentWindow.ExpandSection Method (PowerPoint)
keywords: vbapp10.chm511031
f1_keywords:
- vbapp10.chm511031
ms.prod: powerpoint
api_name:
- PowerPoint.DocumentWindow.ExpandSection
ms.assetid: bf4548ea-1459-9a2e-ad5a-e7d16c1b312d
ms.date: 06/08/2017
---


# DocumentWindow.ExpandSection Method (PowerPoint)

Expands the section in the current  **DocumentWindow**.


## Syntax

 _expression_. **ExpandSection**( **_sectionIndex_**, **_Expand_** )

 _expression_ A variable that represents a **DocumentWindow** object.


### Parameters



|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _sectionIndex_|Required|**[INT]**|The index of the section to be expanded.|
| _Expand_|Required|**Boolean**|Indicates whether the section was expanded.|

## See also


#### Concepts



[DocumentWindow Object](documentwindow-object-powerpoint.md)

